|
|
|
|
GridLines Property, CellClass Class |
Defines the grid lines style for this cell.
Syntax CellClass Class (Softelvdm.SftTreeNET)
VB |
Public Property GridLines As GridLinesOptStyleEnum |
C# |
public GridLinesOptStyleEnum GridLines { get; set; } |
C++ |
public: property GridLinesOptStyleEnum GridLines { |
Property Value
The grid lines.
Value |
Description |
|
0 | No grid lines are shown. | |
1 | Vertical grid lines are shown. | |
2 | Horizontal grid lines are shown. | |
3 | Both horizontal and vertical grid lines are shown. | |
-1 | The grid lines style is determined by the containing item or control. |
The default value is GridLinesOptStyleEnum.Default.
Comments
The GridLines property defines the grid lines style for this cell.
The grid lines styles default for all cells is defined using the control's GridLines property. Columns can override the default for cells in one column using the ColumnClass.GridLines property. In turn, cells can override that default using the CellClass.GridLines property.
Grid lines colors can be defined using the GridHorizontalColor and GridVerticalColor properties.
GridLinesPen defines the pen style used to draw grid lines.
Grid lines are only used in the item area.
Only the right and bottom edge of a cell are used to render grid lines, so this property only affects these areas. The upper or left edge of a cell are not used. Instead, the previous or upper cell render the grid lines. If grid lines in these area need to be manipulated, the properties of the upper or left cell must be modified.
See Also CellClass Class | Softelvdm.SftTreeNET Namespace